package com.cuit.pojo;

public class Order {
    private String  p_id;
    private String patient;
    private String d_id;
    private String doctor;
    private String time;
    private int day;

    public Order() {
    }

    public Order(String p_id, String patient, String d_id, String doctor, String time, int day) {
        this.p_id = p_id;
        this.patient = patient;
        this.d_id = d_id;
        this.doctor = doctor;
        this.time = time;
        this.day = day;
    }

    public void setP_id(String p_id) {
        this.p_id = p_id;
    }

    public void setPatient(String patient) {
        this.patient = patient;
    }

    public void setD_id(String d_id) {
        this.d_id = d_id;
    }

    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public String getP_id() {
        return p_id;
    }

    public String getPatient() {
        return patient;
    }

    public String getD_id() {
        return d_id;
    }

    public String getDoctor() {
        return doctor;
    }

    public String getTime() {
        return time;
    }

    public int getDay() {
        return day;
    }

    @Override
    public String toString() {
        return "Order{" +
                "p_id='" + p_id + '\'' +
                ", patient='" + patient + '\'' +
                ", d_id='" + d_id + '\'' +
                ", doctor='" + doctor + '\'' +
                ", time='" + time + '\'' +
                ", day=" + day +
                '}';
    }
}
